Imports Microsoft.VisualBasic

Public Class Material
    Private _nombre As String
    Private _codigo As String
    Private _id As String
    Private _descripcionFormal As String
    Private _descripcionInformal As String
    Private _stockMinimo As String
    Private _refFamilia As String
    Private _refMaterialDatos As MaterialDatos

    Public Property RefMaterialDatos() As MaterialDatos
        Get
            Return _refMaterialDatos
        End Get

        Set(ByVal value As MaterialDatos)
            _refMaterialDatos = value
        End Set
    End Property

    Public Property Nombre() As String
        Get
            Return _nombre
        End Get

        Set(ByVal value As String)
            _nombre = value
        End Set
    End Property

    Public Property Codigo() As String
        Get
            Return _codigo
        End Get

        Set(ByVal value As String)
            _codigo = value
        End Set
    End Property

    Public Property ID() As String
        Get
            Return _id
        End Get

        Set(ByVal value As String)
            _id = value
        End Set
    End Property



    Public Property DescripcionFormal() As String
        Get
            Return _descripcionFormal
        End Get

        Set(ByVal value As String)
            _descripcionFormal = value
        End Set
    End Property

    Public Property DescripcioninFormal() As String
        Get
            Return _descripcionInformal
        End Get

        Set(ByVal value As String)
            _descripcionInformal = value
        End Set
    End Property

    Public Property STOCKMINIMO() As Integer
        Get
            Return _stockMinimo
        End Get

        Set(ByVal value As Integer)
            _stockMinimo = value
        End Set
    End Property

    Public Property RefFAmilia() As String
        Get
            Return Me._refFamilia
        End Get

        Set(ByVal value As String)
            _refFamilia = value
        End Set
    End Property
End Class
